﻿using System;
using Spotted.Data.Args;
using Spotted.Data.Result;

namespace Spotted.Data.Repositories
{
    public interface IMapsRepository
    {
        /// <summary>
        /// Return address information for a given point
        /// </summary>
        /// <param name="latitude">The latitude</param>
        /// <param name="longitude">The longitude</param>
        /// <returns></returns>
        void GetMapAddressForCoordinate(double latitude, double longitude);

        /// <summary>
        /// Indicates the completion of the Map Address for Coordinate method
        /// </summary>
        event EventHandler<MapAddressForCoordinateCompletedEventArgs> GetMapAddressForCoordinateCompleted;
    }
}
